﻿using System;
using System.Windows.Markup;

namespace Iworld.Toolkit.Markup
{
    public class IntExtension : MarkupBase<int>
    {
        public IntExtension() { }

        protected override int ProvideValueInternal(IProvideValueTarget provideValueTarget, IServiceProvider serviceProvider)
        {
            return int.Parse(Value);
        }
    }
}
